/**
 * @description 全局样式
 */

// 条件样式，可用于各less/css文件。格式：/*#if _PLATFORM === 'web' //*/ 样式 /*#endif //*/

/*#if _PLATFORM === 'web' //*/
html {
  height: 100%;
}
@font-face {
  font-family: THSJinRongTi-Medium;
  src: url('//s.thsi.cn/cd/ths-frontend-common-lib-container/v1.3.10/common/font/THSJinRongTi-Medium.otf');
}

@font-face {
  font-family: THSJinRongTi-Bold;
  src: url('//s.thsi.cn/cd/ths-frontend-common-lib-container/v1.3.10/common/font/THSJinRongTi-Bold.otf');
}

body {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: #ffffff;
  user-select: none;
  height: 100%;
  overflow-y: auto;
}
/*#endif //*/

/*#if _PLATFORM === 'hummer' //*/

/*#endif //*/

// api test
.api-ctn {
  margin-top: 20px;
  padding: 20px;
  width: 90%;
  font-size: 28px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;

  .api-tit {
    margin-bottom: 10px;
    height: 50px;
    font-size: 30px;
    border-bottom: 1px solid #e2e2e2;
  }
}

// button
.u-demo-btn {
  padding: 10px 20px;
  width: 200px;
  box-sizing: border-box;
}

/* status */
.z-hide_0 {
  opacity: 0;
}

.kfr-view {
  display: block;
}

/* gird */
.g-ml20 {
  margin-left: 20px;
}
.g-mt20 {
  margin-top: 20px;
}
.u-w300 {
  width: 300px;
}

// ctn
.container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  color: #000;
  background-color: #fff;
}

::-webkit-scrollbar {
  display: none;
  width: 0;
  background: transparent;
}

.message {
  font-size: 32px;
}

.num-j-r {
  font-family: THSJinRongTi-Medium;
}

.red-font {
  color: #ff2436 !important;
}
.green-font {
  color: #07ab4b !important;
}
.grey-font {
  color: #262626;
}

[theme-mode='black'] {
  body {
    background: #0f0f0f;
    .container {
      background: #0f0f0f;
    }
  }
}

